<extend name="./Application/Admin/View/base.html" />
<block name="title"><title><?php echo C(APP_NAME);?>PC端管理</title></block>
<block name="stylesheets">
<link rel="stylesheet" href="__PUBLIC__/assets/css/jquery-ui.css" />
</block>
<block name="stylecss">
</block>
<block name="smallmenu">
<ul class="breadcrumb">
	<li>
		<i class="ace-icon fa fa-home home-icon"></i>
		<a href="{:U('Index/index')}">主页</a>
	</li>

	<li class="active">内容展示管理</li>
</ul><!-- /.breadcrumb -->
</block>
<block name="content">
    <!-- 加载编辑器的容器 -->
    <form action="__CONTROLLER__/article_edit" method="post">
        <h2 style="font-weight:bold;text-align:center;margin:10px 0"><input type="text" name="article_title" value="{$article_arr.article_title}"></h2>
        <input type="hidden" name="article_id" value="{$article_arr.article_id}">
        <script id="container" name="content" type="text/plain"><?php echo $article_arr['content']; ?></script>
        <div style="margin-top:20px">
            <button type="submit" class="btn btn-sm btn-pink" >提交</button> <span class="btn btn-sm" onClick="location.href='{:U('Article/index')}'">返回</span>
        </div>
    </form>
    <!-- 配置文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var ue = UE.getEditor('container');
    </script>
</block>
<block name="scripts"></block>
<block name="jscript">
<script script="text/javascript">
    $(function(){
        $('#menu_baseinfo').addClass('active open');
        $('#menu_article_list').addClass('active');
    });
</script>
</block>